import 'package:cbec_app/components/base/base_page.dart';
import 'package:cbec_app/components/common/common_style.dart';
import 'package:cbec_app/components/base/base_nav_bar.dart';
import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';

///修改支付密码
class FixPayment extends StatelessWidget {
  const FixPayment({super.key});

  @override
  Widget build(BuildContext context) {
    return BasePage(
      title: "修改支付密码",
      iconType: IconType.back,
      isShowPadding: true,
      children: [
          Container(
          padding: EdgeInsets.all(18.w),
          child: Column(
            crossAxisAlignment: CrossAxisAlignment.start,
            children: [
              Container(
                margin: EdgeInsets.only(bottom: 10.w),
                child: Text("新的支付密码",style: blackFont(14),),
              ),
              Container(
                color: Colors.white,
                padding: EdgeInsets.all(10.w),
                child: TextFormField(
                  decoration: descript("请输入新支付密码"),
                ),
              ),
              Container(
                margin: EdgeInsets.only(top:20.w, bottom: 10.w),
                child: Text("二次确认支付密码",style: blackFont(14),),
              ),
              Container(
                color: Colors.white,
                padding: EdgeInsets.all(10.w),
                child: TextFormField(
                  decoration: descript("请再次输入新支付密码"),
                ),
              ),
              Container(
                margin: EdgeInsets.only(top: 60.w),
                child: solidButton("确认", () { },radius: 10),
              )

            ],
          ),
        )
      ],
    );
  }
}